<template>
  <div class="app-container">
    <iframe :height="screenHeight+'px'" :src="url" frameborder="0" scrolling="auto" width="100%" />
  </div>
</template>
<script>

export default {
  name: 'Performance',
  data() {
    return {
      url: 'http://localhost:7746',
      screenHeight: document.body.clientHeight - 150 // 屏幕高度
    }
  },
  mounted() {
    this.url = window.location.href.indexOf('localhost') > 0 ? 'http://localhost:7746' : 'http://47.106.201.146:7746'
  }
}
</script>
<style scoped>

</style>
